//
//  HomeViewModel.h
//  BaseFrameworkOC
//
//  Created by Vicent on 2021/9/7.
//

#import "BaseViewModel.h"
#import "HomeItemViewModel.h"
#import "HomeModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HomeViewModel : BaseViewModel

@property (nonatomic, strong) NSArray <HomeItemViewModel *>*cellVMList;

- (void)parseModelToVM:(HomeModel *)model;


- (void)requestHomeList:(NSDictionary *)params successBlock:(void (^)(NSDictionary * _Nonnull))successBlock failedBlock:(void (^)(NSError * _Nonnull))failedBlock;

@end


@interface HomeRequestBean : BaseModel

//页数
@property (nonatomic, assign) int page;
//每页显示数量
@property (nonatomic, assign) int pageCount;

@end

NS_ASSUME_NONNULL_END
